﻿
namespace D.UtilEventbus
{
    public class EventData : IEventData
    {
        public Guid Id { get; set; }
        public string EventName { get; set; }
        public DateTime CreateTime { get; set; }
        public object EventSource { get; set; }
        public int Count { get; set; }

        public EventData()
        {
            this.Id = Guid.NewGuid();
            this.CreateTime = DateTime.Now;
        }
    }
}
